﻿@model MSD.WL.Site.Models.InvenType

@using (Html.BeginForm("Create", "InvenTypes", FormMethod.Post,new { id= "CreateInvenTypesForm" }))
{
    @Html.AntiForgeryToken()

    <div style="margin-left:20px;margin-right:20px;font-size:15px;">
        @Html.ValidationSummary(true, "", new { @class = "text-danger" })
        <div class="form-group">
            @Html.LabelFor(model => model.InvenTypeCode, htmlAttributes: new { @class = "control-label" })
            
                @Html.EditorFor(model => model.InvenTypeCode, new { htmlAttributes = new { @class = "form-control" } })
                @Html.ValidationMessageFor(model => model.InvenTypeCode, "", new { @class = "text-danger" })
            
        </div>
        <div class="form-group">
            @Html.LabelFor(model => model.InvenTypeName, htmlAttributes: new { @class = "control-label" })
            
                @Html.EditorFor(model => model.InvenTypeName, new { htmlAttributes = new { @class = "form-control" } })
                @Html.ValidationMessageFor(model => model.InvenTypeName, "", new { @class = "text-danger" })
            
        </div>
    </div>
}

<script src="~/Scripts/jquery-1.10.2.min.js"></script>
<script src="~/Scripts/jquery.validate.min.js"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>

